package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-08-30
 */
@Data
@ApiModel(value = "StoreInoutDetail 视图", description = " 视图")
public class StoreInoutDetailVO implements Serializable{
    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    @Excel(name = "序号", orderNum = "0")
    private int sid;

        /**
     * 出入库Id t_stroe_inout.c_id
     */
    @ApiModelProperty(value = "出入库Id t_stroe_inout.c_id")
    @Excel(name = "出入库Id t_stroe_inout.c_id", orderNum = "0")
    private Integer inoutId;

    /**
     * 物品Id  t_store_info.c_id
     */
    @ApiModelProperty(value = "物品Id  t_store_info.c_id")
    @Excel(name = "物品Id  t_store_info.c_id", orderNum = "0")
    private Integer storeId;

    /**
     * 物品名称
     */
    @ApiModelProperty(value = "物品名称")
    @Excel(name = "物品名称", orderNum = "0")
    private String storeName;

    /**
     * 物品单位
     */
    @ApiModelProperty(value = "物品单位")
    @Excel(name = "物品单位", orderNum = "0")
    private String storeUnit;

    /**
     * 出入库数量
     */
    @ApiModelProperty(value = "出入库数量")
    @Excel(name = "出入库数量", orderNum = "0")
    private Double num;

    /**
     * 类别(1:入库，2:出库)
     */
    @ApiModelProperty(value = "类别(1:入库，2:出库)")
    @Excel(name = "类别(1:入库，2:出库)", orderNum = "0")
    private Integer type;

    /**
     * 类别
     */
    @ApiModelProperty(value = "类别")
    @Excel(name = "类别", orderNum = "0")
    private String storeTypeName;

    /**
     * 单据编码
     */
    @ApiModelProperty(value = "单据编码")
    private String billCode;

    /**
     * 单据日期
     */
    @ApiModelProperty(value = "单据日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime billDate;

    /**
     * 最后操作日期
     */
    @ApiModelProperty(value = "操作日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime dbLastUpdateDate;

    /**
     * 登记人名称
     */
    @ApiModelProperty(value = "登记人名称")
    private String recordUserName;

    private boolean isPass;
    private String analysisRes;

}
